//
// Created on 6/2/25.
//
// Node APIs are not fully supported. To solve the compilation error of the interface cannot be found,
// please include "napi/native_api.h".

#ifndef NEURONVIEW_PROGRAM_H
#define NEURONVIEW_PROGRAM_H
#include <EGL/egl.h>
#include <EGL/eglext.h>
#include <GLES3/gl3.h>
class Program {
public:
    Program(const char *vertexShader, const char *fragShader);
    ~Program();
    GLuint CreateProgram(const char *vertexShader, const char *fragShader);
    GLuint LoadShader(GLenum type, const char *shaderSrc);
    GLuint GetProgram(){return m_Program;}
private:
    GLuint m_Program;
};

#endif //NEURONVIEW_PROGRAM_H
